package com.hzhk.happyrent.bean;

import com.google.gson.annotations.SerializedName;
import com.hzhk.happyrent.bean.rent.BaseBean;

/**
 * User: hzhk(1097282555@qq.com)
 * Date: 2017/12/27
 * Time: 15:19
 * progject: HR
 * Describe： ${Describe}
 */
public class UpdateModel extends BaseBean{

    /**
     * errCode : 0
     * message : success
     * data : {"id":"1","name":null,"ios_version":null,"android_version":"2","version_time":null,"desc":"1、解决首页加载异常问题\n2、优化商品详情页问题\n3、解决个人中心数据异常问题","down_url":"http://app-global.pgyer.com/5409ecf98b69801f5c4c7c65b95e29cf.apk?attname=%E7%A7%9F%E7%A7%9F%E4%B9%90.apk&amp;sign=e6aa41498211c46cd1d4662a30022af0&amp;t=5a406693","created_at":"1514168996","updated_at":"1514168996","status":"1","type":"1","android_need_upgrade":"0","ios_need_upgrade":"0"}
     * time : 1514359028
     */

    @SerializedName("errCode")
    private int errCode;
    @SerializedName("message")
    private String message;
    @SerializedName("data")
    private DataBean data;
    @SerializedName("time")
    private int time;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        /**
         * id : 1
         * name : null
         * ios_version : null
         * android_version : 2
         * version_time : null
         * desc : 1、解决首页加载异常问题
         2、优化商品详情页问题
         3、解决个人中心数据异常问题
         * down_url : http://app-global.pgyer.com/5409ecf98b69801f5c4c7c65b95e29cf.apk?attname=%E7%A7%9F%E7%A7%9F%E4%B9%90.apk&amp;sign=e6aa41498211c46cd1d4662a30022af0&amp;t=5a406693
         * created_at : 1514168996
         * updated_at : 1514168996
         * status : 1
         * type : 1
         * android_need_upgrade : 0
         * ios_need_upgrade : 0
         */

        @SerializedName("name")
        private String name;
        @SerializedName("android_version")
        private String androidVersion;
        @SerializedName("version_time")
        private Object versionTime;
        @SerializedName("desc")
        private String desc;
        @SerializedName("down_url")
        private String downUrl;
        @SerializedName("created_at")
        private String updatedAt;
        @SerializedName("status")
        private String status;
        @SerializedName("type")
        private String typeX;
        @SerializedName("android_need_upgrade")
        private String androidNeedUpgrade;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAndroidVersion() {
            return androidVersion;
        }

        public void setAndroidVersion(String androidVersion) {
            this.androidVersion = androidVersion;
        }

        public Object getVersionTime() {
            return versionTime;
        }

        public void setVersionTime(Object versionTime) {
            this.versionTime = versionTime;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getDownUrl() {
            return downUrl;
        }

        public void setDownUrl(String downUrl) {
            this.downUrl = downUrl;
        }


        public String getUpdatedAt() {
            return updatedAt;
        }

        public void setUpdatedAt(String updatedAt) {
            this.updatedAt = updatedAt;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getTypeX() {
            return typeX;
        }

        public void setTypeX(String typeX) {
            this.typeX = typeX;
        }

        public String getAndroidNeedUpgrade() {
            return androidNeedUpgrade;
        }

        public void setAndroidNeedUpgrade(String androidNeedUpgrade) {
            this.androidNeedUpgrade = androidNeedUpgrade;
        }
    }
}
